import { useAppStore } from '@/store';

const appStore = useAppStore();
const appClientMenus = appStore.routes.map((el: any) => {
  const { name, path, meta, redirect, children } = el;
  return {
    name,
    path,
    meta,
    redirect,
    children,
  };
});

export default appClientMenus;
